﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/Site.Master" Inherits="DocumentManagement.Views.AuditFailedBaoGao" %>

<asp:Content ID="Content1" ContentPlaceHolderID="MainContent" runat="server">

    <h2>没有通过审批的报告</h2>

<div>
        <table>
            <tr>
                <td>
                    文件编号
                </td>
                <td>
                    委托来源
                </td>
                <td>
                    委托方
                </td>
                <td>
                    项目座落
                </td>
                <td>
                    附件报告
                </td>
                <td>
                </td>
            </tr>
            <%foreach (var bg in this.Model.BGs)
            {%>
            <tr>
                <td>
                    <a target="_blank" href="<%=this.Url.Action("ShowBaoGaoDetail", "baogao", new {id = bg.id}) %>"><%=bg.wjbh%></a>
               </td>
                <td>
                    <%=bg.wtly%>
                </td>
                <td>
                    <%=bg.wtf%>
                </td>
                <td>
                    <%=bg.xmzl%>
                </td>
                <td>
                <%if (bg.hasAttachment)
                  { %>
                <a href="<%=this.Url.Action("DownloadBaoGaoAttachment", "BaoGao", new {wjbh= bg.wjbh})%>">附件</a>
                <%} %>
                </td>
                <td>
                    <a href="<%=this.Url.Action("ShowUpdateAuditFailedBaoGao", "baogao", new {id = bg.id}) %>">更改</a>
                </td>
            </tr>
            <%} %>
        </table>
    </div>
</asp:Content>
